import './index.scss'

/**
 * 骨架屏
 * **/
export default (props) => {
    let { type, width, height } = props
    type = type || 1;
    return (
        <div className={['skeleton', type == 1 ? 'breath' : 'slide'].join(' ')} style={{ width, height }}></div>
    )
}